<?php
class OPBadge {
	
	/**
	* -------------------------------------------------------------------------
	*
	* 									Attributes
	*
	* -------------------------------------------------------------------------
	*/

	/**
	* Position of the badge
	*
	* @var OPPosition
	*/
	protected $position;
	
	/**
	 * -------------------------------------------------------------------------
	 * 
	 * 									Static
	 * 
	 * -------------------------------------------------------------------------
	 */

	/**
	* Static constructor creating a new badge with its position
	*
	* @param $position
	* @return OPBadge
	*/
	public static function newWithPosition($position){
		$newBadge = new OPBadge();
		$newBadge->setPosition($position);
	
		return $newBadge;
	
	}
	
	/**
	* -------------------------------------------------------------------------
	*
	* 									Dynamic
	*
	* -------------------------------------------------------------------------
	*/
	
	
	/**
	* -------------------------------------------------------------------------
	* 									Setters
	* -------------------------------------------------------------------------
	*/
	
	/**
	* Set the position to the badge
	*
	* @param $position
	* @return OPBadge
	*/
	public function setPosition($position) {
		$this->position = $position;
	
		return $this;
	
	}
	
	/**
	* -------------------------------------------------------------------------
	* 									Getters
	* -------------------------------------------------------------------------
	*/
	
	/**
	* Return the position of the Badge
	*
	* @return OPPosition
	*/
	public function position() {
		return $this->position;
	
	}
	

	

	
}